// 导出 i18n 的接口类型定义文件

import { Locale } from 'ant-design-vue/es/locale';

export interface I18nLocale {
	antLocale: Locale;
	login: {
		title: string;
		langArray: string[];
		form: {
			userid: string;
			password: string;
			code: string;
			remember: string;
			tips: string;
			gotoRegister: string;
			forget: string;
			login: string;
			checkpassword: string;
			read: string;
			protocol: string;
			gotoLogin: string;
			register: string;
			email: string;
			reset: string;
		};

		formRules: {
			userid: string;
			password: string;
			checkPasswordNoValue: string;
			checkPassword: string;
			read: string;
			email: string;
			noCodeVue: string;
			noCode: string;
			errorCode: string;
		};
	};
	menu: {
		[key: string]: string;
		grup1: string;
		grup2: string;
		'/home/index': string;
		'/home/project': string;
		'/home/task': string;
		'/home/schedule': string;
		'/home/knowledge': string;
		'/home/users': string;
		'/home/statistics': string;
	};

	// home/index Header 顶部菜单
	header: {
		fullScreen: string;
		exitFullScreen: string;
		message: string;
		// 外观
		appearance: string;
		light: string;
		dark: string;
		system: string;
		// 语言
		language: string;
		help: string;
		setting: string;
		exit: string;
	};
}

export type Language = 'zh-cn' | 'zh-tw' | 'en';
